package com.xumz.service;

import java.util.List;
import com.xumz.model.Record;
import com.xumz.model.RecordManage;;

public interface RecordService {

	
	public Record selectOne(String id);
	
	public List<Record> selectAll(String id);
	
	public List<Record> selectAll();
	
	public List<Record> selectRecordByStudentId(String id);
	
	public List<RecordManage> selectAllRecordManage();
	
	public List<RecordManage> selectAllRecordManage(String num);
	
	public List<RecordManage> selectAllRecordManageByTeacherName(String name);
	
	public List<RecordManage> selectByStudentId(String id);

	public List<Record> getCrawler(String url,String sid);
	
	public int insertOne(Record record);
	
	public int insertList(List<Record> list);
	
	public int deleteOne(String id);
	
	public List<RecordManage> selectRecordManageByOwer(List<RecordManage> list,String owner);
	
	public List<RecordManage> selectRecordManageByKeyWord(List<RecordManage> list,String keyWord);
}
